using MediatR;
using RBAC.ErrorCode;
using System;

namespace RBAC.Read.Api.Application.Command.ERP.SalesManagement.H
{
    /// <summary>
    /// 销售订单计划查询（图2条件，基于单据编码等条件）
    /// </summary>
    public class GetSalesOrderPlanListByBillCommand : IRequest<APIResult<GetSalesOrderPlanListByBillDto>>
    {
        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 10;

        public string? SalesOrderCode { get; set; }
        public string? BillCode { get; set; }
        public string? CustomerName { get; set; }
        public string? SalesmanName { get; set; }
        public string? MaterialName { get; set; }
        public int? Status { get; set; }
        public DateTime? StartDate { get; set; }
        public DateTime? EndDate { get; set; }
    }
}
